<template>
  <div>
    <el-select v-model="value" placeholder="活动区域" @change="change">
      <el-option label="区域一" value="shanghai"/>
      <el-option label="区域二" value="beijing"/>
    </el-select>
  </div>
</template>

<script>
export default {
  name: 'SelectFood',
  props: {
    align: {
      type: String,
      default: function() {
        return 'right'
      }
    }
  },
  data() {
    return {
      value: ''
    }
  },
  methods: {
    change(value) {
      console.log(value)
      this.$emit('input', value)
    }
  }
}
</script>

<style lang="scss" scoped>

</style>
